import { _axios } from './request.js'
// 联想自动补全
function suggestion (params) {
  return _axios({
    url: 'v1_0/suggestion',
    method: 'get',
    params
  })
}
// 用户搜索
function v1Search (params) {
  return _axios({
    url: 'v1_0/search',
    method: 'get',
    needToken: true,
    params
  })
}
export { suggestion, v1Search }
